package com.duoec.magichour.mapper;

import com.duoec.magichour.core.BaseMapper;
import com.duoec.magichour.pojo.ArticleCollection;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleCollectionMapper extends BaseMapper<ArticleCollection, String>{
    List<ArticleCollection> getArticleCollectionList(
            @Param("articleIds") List<Long> articleIds,
            @Param("userId") long userId
    );

    boolean exists(String id);
}